from django.conf.urls.defaults import patterns, include


# Uncomment the next two lines to enable the admin:
# from django.contrib import admin
# admin.autodiscover()

urlpatterns = patterns('',
    # Example:
    # (r'^taobao/', include('taobao.foo.urls')),

    # Uncomment the admin/doc line below and add 'django.contrib.admindocs' 
    # to INSTALLED_APPS to enable admin documentation:
    # (r'^admin/doc/', include('django.contrib.admindocs.urls')),

    # Uncomment the next line to enable the admin:
    # (r'^admin/', include(admin.site.urls)),

    (r'^$', 'django.views.generic.simple.direct_to_template', {'template':'index.html'}),
    (r'^top/$', 'django.views.generic.simple.direct_to_template', {'template':'top.html'}),
    (r'^taobao/', include('taobao.urls')),
    (r'^douban/', include('douban.urls')),
    (r'^blog/', include('blog.urls')),
    (r'^map/', include('map.urls')),
)
